<template>
  <div style="margin-left: 30px">
    <h1>用户反馈</h1>
    <el-row>
      <el-col :span="12">
        <el-form ref="form" :model="formData" label-width="60px">
          <el-form-item label="标题">
            <el-input
                v-model="formData.title"
                placeholder="输入标题"
                required="true"
            ></el-input>
          </el-form-item>
          <el-form-item label="内容">
            <el-input
                type="textarea"
                :autosize="{ minRows: 10, maxRows: 20 }"
                v-model="formData.content"
                placeholder="输入内容"
                required="true"
            ></el-input>
          </el-form-item>
          <el-form-item>
            <el-button type="primary" @click="onSubmit" style="float: right"
            >提交
            </el-button>
          </el-form-item>
        </el-form>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "UserFeedback",
  data() {
    return {
      formData: {
        title: "",
        content: "",
      },
    };
  },
  methods: {
    onSubmit() {
    },
  },
};
</script>

<style scoped></style>
